package com.se2.antiqueexhibition.Mapper;

import com.se2.antiqueexhibition.pojo.Activity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ReservationMapper {

    void addReservation(int userId,int activityId);
    List<Activity> showReservation(int userId);
    void cancelReservation(int userId,int id);
    List<Integer> getReservationIdsByUserId(int userId);

}
